<table class="print table table-bordered table-striped">
    <thead>
        <tr >
            <th>No</th>
            <th>Nama Mandor</th>
            <th>Kode Vendor</th>
            <th>Nomor HP</th>
            <th>Kota</th>
            <th>Status</th>
            <th>Cabang</th>
            <th>Kode</th>
            <th>Proyek</th>
            <th>Pekerjaan</th>
            <th>Kelas</th>
            <th>Waktu Awal</th>
            <th>Waktu Akhir</th>
            <th>Tukang</th>
            <th>Pekerja</th>
            <th>KMK / Reguler</th>
            <th>Asal</th>
            <th>Koordinasi</th>
            <th>Quality</th>
            <th>Safety</th>
            <th>K (LINGK)</th>
        </tr>
    </thead>
    <tbody>
        
<?php
    $i = 0;
    foreach($data as $row){
        $i ++;
        
        // record 
        echo "
        <tr>
            <td>$i</td>
            <td>$row->mandor_nama</td>
            <td>$row->mandor_kode</td>
            <td>$row->mandor_telpon</td>
            <td>$row->mandor_kota</td>
            <td>$row->mandor_status</td>
            <td>$row->cabang_nama</td>
            <td>$row->proyek_kode</td>
            <td>$row->proyek_nama</td>
            <td>$row->pekerjaan_ket</td>
            <td>$row->proyek_kelas</td>
            <td>$row->monitor_mulai</td>
            <td>$row->monitor_selesai</td>
            <td>$row->monitor_tukang</td>
            <td>$row->monitor_pekerja</td>
            <td>$row->pembayaran_ket</td>
            <td>-</td>
            <td>$row->monitor_koordinasi</td>
            <td>$row->monitor_quality</td>
            <td>$row->monitor_safety</td>
            <td>$row->monitor_hk</td>
        </tr>
        ";
    }
?>
    </tbody>
</table>
        
